package com.student_system.system.service;

import com.student_system.system.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ljy
 * @since 2025-05-14
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    public List<Integer> getRoleIdByUserId(Integer userId);

    public void saveUserRoles(Integer userId, List<Integer> roleIds);
}
